package com.allqj.qjf.controller;

import com.allqj.qjf.service.CommonDict;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sjw
 * @className WebHookController
 * @date 2021/8/22 11:40
 * @description: TODO
 */
@RestController
public class WebHookController {
    @GetMapping("/event/{dictType}")
    public void event(@PathVariable Integer dictType){
        CommonDict.updateCache(dictType);
    }
}
